package com.cyh.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Report {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long seatId;
    private Long reportUserId;
    private Integer reportUserBack;
    private Integer timeInterval;
    private String imgUrl;
    private String reportUserImg;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime reportTime;
}
